package com.carl.zeus.model.system;

import com.alibaba.fastjson.annotation.JSONField;
import com.baomidou.mybatisplus.annotations.TableField;
import com.carl.zeus.util.IdEntity;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;

import java.util.Date;


/**
 * <p>
 * 
 * </p>
 *
 * @author carl
 * @since 2017-01-22
 */
@Data
@ToString
@AllArgsConstructor
@NoArgsConstructor
public class Picture extends IdEntity<Picture> {

    private static final long serialVersionUID = 1L;

    /**
     * 每张图片的地址
     */
	@TableField("pictures_id")
	private String picturesId;
	private String url;

	@JSONField(format="yyyy-MM-dd HH:mm:ss")
	@TableField("last_update_date")
	private Date lastUpdateDate;

}
